package tuxing;

public class Yuanzhui extends Liti {
	double r,h,l;
	Yuanzhui(double r,double l,double h){
		this.r=r;
		this.h=h;
		this.l=l;
	}
	public  double getbmj() {
		return (3.14*r*l)+(3.14*r*r);
		
	}
	public  double gettj() {
		return (3.14*r*r*h)/3.0;
	}


}